import Vue from 'vue'
import { Lazyload } from 'vant';
import App from './App.vue'
import router from './router'
import store from './store'
import '@/config/rem.js'
import _ from 'lodash'
import dateFormat from 'utils/time.js'
//使用vue全局过滤器
Vue.filter('dateFormat',function(val,arg){
    return dateFormat(val,arg)
})

//import axios from '@/network/request'
Vue.config.productionTip = false
Vue.prototype._ = _
Vue.prototype.$bus = new Vue()
Vue.use(Lazyload,{
  loading: require('@/assets/img/common/placeholder.png'),
});
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
